<extend name="template/base_index" />

<block name="area_header">
    <link rel="stylesheet" href="__CSS__/apply_trace.css">
</block>

<block name="area_body">
    <div class="common_head">
        <a href="{:U('Account/his_apmoney')}"><i class="fa fa-chevron-left"></i></a>
    </div>
    <div class="account_top">
        <center><div class="atop_title">我的可用余额</div></center>
        <center><div class="atop_price"><i class="fa fa-jpy"></i>{$money}</div></center>
    </div>
    <div class="trace_content">
        <div class="trace_left"><img src="__IMG__/tixian.png" /></div>
        <div class="trace_mind">
            <span>提交提现申请</span><br/><span>{$tracedraw['create_time']|date='Y-m-d',###}</span><br/>
            <span>提交审核</span><br/><span>{$tracedraw['update_time']|date='Y-m-d',###}</span>
        </div>
        <div class="trace_right">
            <span class="trace_rright">
                <if condition="$tracedraw['status'] eq 0">待审核</if>
                <if condition="$tracedraw['status'] eq 1">审核通过</if>
                <if condition="$tracedraw['status'] eq 2">审核失败</if>
            </span>
        </div>
    </div>
    <div class="trace_bottom">
        <if condition ="$tracedraw['status'] eq 0">
            <div class="trace_bleft">
                <span class="trace_bmoney"><i class="fa fa-jpy"></i>{$tracedraw['money']}</span><br/><span class="trace_bres">提现到{$tracedraw['bank_branch']}</span>
            </div>
            <div class="trace_bright">
                <span>待审核</span>
            </div>
        </if>
        <if condition ="$tracedraw['status'] eq 1">
            <div class="trace_bleft">
                <span class="trace_bmoney"><i class="fa fa-jpy"></i>{$tracedraw['money']}</span><br/><span class="trace_bres">提现到{$tracedraw['bank_branch']}</span>
            </div>
            <div class="trace_bright">
                <span>提现成功</span>
            </div>
        </if>
        <if condition ="$tracedraw['status'] eq 2">
            <div class="trace_bleft">
                <span class="trace_bmoney"><i class="fa fa-jpy"></i>{$tracedraw['money']}</span><br/><span class="trace_bres">提现到{$tracedraw['bank_branch']}</span>
            </div>
            <div class="trace_bright">
                <span>提现失败</span>
            </div>
        </if>

    </div>
    <script src="__JS__/jquery-weui.min.js"></script>
</block>